﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/main/AdminBase.Master" AutoEventWireup="true" CodeBehind="add_staff.aspx.cs" Inherits="Com.Ompchina.Web.admin.system.add_staff" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_header" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_pagename" runat="server">
    权限配置 &gt; 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_pagelink" runat="server">
    <li><a href="list_staff.aspx?action=list">成员列表</a></li>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cph_main" runat="server">
<form id="frm_addStaff" runat="server">
<table class="table" cellpadding="0" cellspacing="0">
	<tr>
    	<th class="w180">名称</th>        
        <td class="item"><asp:TextBox ID="txtUsername" runat="server" MaxLength="20" CssClass="ipttxt w200 h20"></asp:TextBox></td>
        <td class="aitem">登录名，字母的组合</td>
    </tr>
    <tr>
    	<th class="w180">密码</th>
        <td class="item"><asp:TextBox ID="txtPassword" runat="server" MaxLength="20" TextMode="Password" CssClass="ipttxt w200 h20"></asp:TextBox></td>
        <td class="aitem">登录密码，请牢记<asp:HiddenField ID="hfPassword" runat="server" Value="0" />
        </td>
    </tr>
    <tr>
    	<th class="w180">使用随机密码</th>
        <td class="item"><asp:CheckBox ID="chRandom" runat="server" />使用随机密码</td>
        <td class="aitem">勾选此项，则密码由系统随机生成</td>
    </tr>
    <tr>
    	<th class="w180">邮件</th>
        <td class="item"><asp:TextBox ID="txtEmail" runat="server" MaxLength="100" CssClass="ipttxt w200 h20"></asp:TextBox></td>
        <td class="aitem">成员邮箱</td>
    </tr>
    <tr>
    	<th class="w180">帐户锁定</th>
        <td class="item"><asp:CheckBox ID="chLock" runat="server" /></td>
        <td class="aitem">勾选此项后，帐户被锁定，不能登录</td>
    </tr>
    <tr>
    	<th class="w180">成员角色</th>
        <td class="item"><CustomUI:AuthModelRoles ID="cblRoles" runat="server"></CustomUI:AuthModelRoles></td>
        <td class="aitem">选择赋予成员的角色</td>
    </tr>
    <tr>
    	<th class="w180">&nbsp;</th>
        <td class="item"><asp:Button ID="btnSave" runat="server" Text="保存" onclick="btnSave_Click" /><asp:HiddenField ID="hfID" runat="server" Value="0" /></td>
        <td class="aitem">&nbsp;</td>
    </tr>
</table>
</form>
</asp:Content>
